﻿@using HiLand.Framework.BusinessCore
@model BusinessUser
@{
    ViewBag.Title = "用户注册";
}
<div class="page-login">
    <div class="section-header">
        <h1>
            用户注册</h1>
        <p>
            为了保证您能及时收到您订购的货品，请详细填写以下信息。
        </p>
    </div>
    <div class="maincontent">
        <div id="msg">
        </div>
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true, "账号创建没有成功，请修改错误后进行重试.")
            <fieldset>
                <div class="row">
                    <label>
                        用户名称</label>
                    <span class="text">
                        @Html.TextBoxFor(e => e.UserName)
                    </span><span class="error-note"></span>
                </div>
                <div class="row">
                    <label for="password">
                        口令</label>
                    <span class="text">
                        @Html.PasswordFor(e => e.Password)
                    </span><span class="error-note"></span>
                </div>
                <div class="row">
                    <label for="password">
                        重复口令</label>
                    <span class="text">
                        @Html.PasswordFor(e => e.Password)
                    </span><span class="error-note"></span><span class="note">请确保两次输入的口令相同</span>
                </div>
                <div class="row">
                    <label for="password">
                        Email</label>
                    <span class="text">
                        @Html.TextBoxFor(e => e.UserEmail)
                    </span><span class="error-note"></span><span class="note">在您忘记口令时，可以通过Email找回</span>
                </div>
                <div class="row">
                    <ul class="submit-options">
                        <li>
                            <button type="submit" tabindex="3" class="btn primary large blue">
                                注册 &raquo;</button>
                        </li>
                        <li>or <a href="@Url.Action("LogOn")">如果你已经为Lego365的会员，请点击此处进行登录</a> </li>
                    </ul>
                </div>
            </fieldset>
        }
    </div>
</div>
